Now open !

August 11th, 2008

RSS feeds from around the world, I’ll gather, categorize them. And all’s you need to do is just search though them !

http://rss.nomadcf.com

No but really I’m just putting all my fav. RSS feed in one easy (for me) place to read them. Enjoy them too…. if you’d like :)

http://rss.nomadcf.com

Share/Save

Multiple name-based virtual hosts & SSL

August 9th, 2008

So for everyone out there, hers the story, SSL has a huge limitation. And that it (by default) you can only handle either 1 SSL cert/Key combo for all name-based virtual hosts (which will one be vaild for one host. All otheres it will not match the hostname to the site base name) OR you have to setup each SSL host have it’s own IP. Neither of these are great ideas. So I started to play around and look for other ways to do it, and I did. Well I did it for anything at “.Server” examples and using self signed certs. 

Note before we start, Anything that asks about “Common Name” or “server’s hostname”. You’ll need to put in *.servername”. so instad of putting in www.nomadcf.com you’ll need to put in “*.nomadcf.com”.

1. Create a SSL cert & key Using these commands


mkdir /etc/httpd/conf/ssl
mkdir /tmp/ssl
cd /tmp/ssl
openssl genrsa -des3 -out server.key 2048
openssl req -new -key server.key -out server.csr
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key
openssl x509 -req -days 365 -in \
server.csr -signkey server.key -out server.crt
cp *.crt /etc/httpd/conf/ssl/
cp *.key /etc/httpd/conf/ssl/

Now back up you /etc/httpd/conf.d/ssl.conf and then edit you your /etc/httpd/conf.d/ssl.conf and comment out *everything* between and including.

<VirtualHost _default_:443>

and

</VirtualHost>

Now and and open “/etc/httpd/conf.d/vhost.conf” and create one of these entiers for each virtual host you want/need (replacing the needed parts where required).

<VirtualHost *:443>
ServerName VIRTUAL.SERVERNAME
ServerAdmin ADMIN@SERVER
DocumentRoot PATH_TO_WEBDIR
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl/server.key
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

Now restart apache/httpd and thats it. You’ll now be able to create and use one SSL cert for all your virtual hosts and be vaild (except for it being self signed).

Share/Save

PS3 doesn’t cut it as a media center

August 9th, 2008

Limited Codec & File type Playback

  • Memory Stick Video Format
  • - MPEG-4 SP (AAC LC)
  • - H.264/MPEG-4 AVC High Profile (AAC LC
  • - MPEG-2 TS(H.264/MPEG-4 AVC, AAC LC
  • MP4 file format
  • - H.264/MPEG-4 AVC High Profile (AAC LC)
  • MPEG-1 (MPEG Audio Layer 2)
  • MPEG-2 PS (MPEG2 Audio Layer 2, AAC LC, AC3(Dolby Digital), LPCM)
  • MPEG-2 TS(MPEG2 Audio Layer 2, AC3 Dolby Digital, AAC LC
  • MPEG-2 TS(H.264/MPEG-4 AVC, AAC LC
  • AVI
  • - Motion JPEG (Linear PCM)
  • - Motion JPEG (μ-Law)
  • AVCHD .m2ts / .mts
  • DivX
  • WMV
  • - VC-1(WMA Standard V2

Now before all the carzys start yelling at there monitors about installing Linux on it. I’m not and it’s not really a solution. And again before anyone one gets all up in an uproar Linux is not a suitable desktop solution for any non “advanced” / “non crazy” user.  Now are are some “linux” based ideas out there that are trying to over come alot of linux user interface short coming (specificly those short commings pertaining to linuxs interface as a media center). Such as

Now there is also the lame option of streaming any file you want to the PS3 from a PC/Mac/etc. But again this is a lame option. I mean if you’r going though all this hassel to watch a movie on your big TV then you might as well just hook the computer straight up to the TV. I mean come on 90% of all HD TVs have a PC input and if not for less then $35 you can get a VGA to DVI cable. And sure if you’ve got just a normal 2.0 (thats 2 speakers only) sound card in your computer you won’t be able to get anything close to a true 5|6|7|8.1 surround sound. But then again you weren’t really getting that most likey anyways from streaming. Becuase by default all streamers downmix the sound to 2.0 or 2.1. And even more to the point most streamed movies are downloaded and weren’t encoded with more then 2.0 (mp3 format) sound anyways!

 

So to recap the PS3 fails, no falls flat on it’s face when it tiries to minic a media center. I mean lets face it, It’s an ok game console (with few games and of those 98% are 1st|3rd person shooters). But when it comes to anything other then playing a BluRay or limited version of Divx|xvid|h.264. It doesn’t have what it takes.

Share/Save

Dishnetwork HD channels

August 9th, 2008

If you’ve got DiskNetwork your probably enjoying some of the most paid for HD channels. Well that is if the weather is clear, But if it’s not you’ve probably just turnd to the same channel just not HD version of it and are watching the same thing in SD (Standard Definition). And if you where like you’d be  pissed and wondering why the SD channel works when the HD doesn’t. 

Well for all you Tom Cruise couch jumping on, hand waving in air crazies. Its got every little to do with fact that requires more “band width”. But more to the point that DiskNetwork only has 1 HD satellite per “area”. Unlike to multiples they’ve got for the SD channels.

Share/Save

Dell Service Tags … What a joke

August 5th, 2008

Well if any ones read my last post you’ll know I’ve setup a new Media Center PC and have been looking for some ideas of upgrades. Now I started out my search looking up info about the PC. And go figured I started at dells website. Which of course asked me for my service tag, and to which I replied “Go Fetch !” and it did (good dell, good !). And even to this day I’m always shocked by the results. They list every driver and a manual for every version of this model (switch to my horror I found out there are 5. Although dell only claims there are 3 there are 5). So after downing loading what I knew to be a manual that was less informative them the label on bottle of “spring water”. I decided I should call them (What a mistake !).

  1. I had to type in a semi-long Express Service code
  2. Guy at answered the phone then asked for #1 again ….. ( WTF ?!?! I swear places like this ask you to enter this kinda stuff in just to keep you occupied while waiting to talk to habeeb.)
  3. Guy that answered the phone said he’s name was “Ron” (pronounced by him more like “Run” with a long U if there was such a thing).
  4. After giving “Run” the info he them asked me what version of the Gx520 I had….. My response “Are you kidding me, why the F#$% did I just give you the express service tag if it doesn’t actually tell you what I have”. This made “Run” Sigh
  5. After sorting all that out “Run” asked me what I needed help with. And I replied “I’m trying to figure out that the 1st (left to right NOT up to down) PCI *like* slot is.
  6. I was put on hold.. (I think his cury but have been burning or something becuase he was gone for a long time)
  7. The returned responce what … it’s a PCIe 16x slot….. WRONG !!!!!
  8. I replied “no Run, it can’t be. This is the low profile model. It’s a wierd PCI slot.”
  9. he’s reply “No sir it is a PCIe 16X and next to that is a PCI slot”
  10. I then asked “Well if it is, how can I use a raiser card & the PCIe slot, Or is it a one or the other type thing”
  11. “Run” said “raiser card ? This model doesn’t support a raiser card. And there is no need for a raiser card in your computer”
  12. I replied ” Run, this is not a TOWER model this is the low profile GX520 with 2 what I think are PCI slots ONLY”
  13. “Run” then said “please hold 1 moment my computer is acting very slow today”. Then put me on hold.
  14. During this time, I procceded to adventure online and find out what I could about this PC. And while “Run” was I figured out all my questions. The *weird* PCI slot was in fact a PCI but extended to allow for the raiser card. Which would then still allow for the other PCI slot to be open. And just as I found all this and was about to hang up. I hear “Run” call though the phone “Sir”
  15. “Run” said : “Sir you have a Gx520 low profile with 2x PCI slots, the 1st PCI can handle a raiser card to allow for 2 normal sized PCI cards to fit into it.”
  16. My reply “Yep I just found that out online at tomshardware.com”
  17. “Run” replies “Did you have any more questions about your system”
  18. I replied “Yes, does dell carry video cards for my system ?”
  19. “Run” told me “Let me find out, please hold” (This hold did not mind as I know it takes some time for dells website to come up).
  20. While waiting I search on new egg and found this little gem : Link
  21. “Run” returned with “Sir” and then “Dell offers a few cards for that model”
  22. my socking reply “Really anything nvidia based, whats the best one”
  23. “Run” said “Yes sir we have a GeForce GTX 260 896 MB PCI Express”
  24. Click

Share/Save

New Media Center PC

August 4th, 2008

Well this weekend I ended my struggle with trying to make my PS3 act like a true media center. I decided to go the PC route for making a media system (Or in my case, Laptop route). So 1st I tried using a old P4 laptop I had lieing around. Now this laptop wasn’t the greatest but if figured it’d be a nice place to start (since it wouldn’t cost me anything outta pocket).

The laptop specs where as follows:

  • P4 1.7 M
  • 512 MB Ram
  • 20 GIG HD
  • 10/100 Nic
  • onboard video W/ VGA out
  • Head Set out
  • and well all the rest is boring so moving one.

So it would seem this started out great. I had a machine, it was light (not that, that matter), quite, and compact. It had always been able to play any movie I had. So I rebuild the OS and moved it into place. And wow I was inpressed it fit very on a same shelf as my WII. But then it hit me. The closest network plug (ethernet jack) is about oh say 100 ft away. Damn it issue #1, the Laptop in question no had wireless built-in. But I quickely fixed with by using one of my spare Linksys WTR54GLs (with DD-wtr) and making it into a wireless bridge. So to recap…

Issue #1 : No built in wireless and the closed Ethernet jack was about 100ft away and my dumb color blind ass can’t make a simple cable to save my life (which is very sad because I have a half spool of CAT 5 sitting right next to my desk).

Solution #1 : Turn old Linksys WTR54GL into a wireless bride !

So with that out of the way I moved on having just redone the OS and installed the needed software (K-LITE standard). I procded to hook up everything to the TV & Reciver. Now my TV, like most any more, has a VGA in on the back. Which in this case I find great, becuase it means I don’t need to buy a video card with a DVI on it or downgrade my self to S-Video. So after hooking everything up and I started it up and after the OS loaded I hit the Fn+F4. This should have done 1 of 3 things.

  1. Setup the external VGA as the primary screen and blanked out mine
  2. Setup the external VGA as the Secondary screen and had the same picture on both
  3. Setup the external VGA as an extended desktop

It did … … nothing. Not a single F’in thing. and trust me, I tired hitting it a few times. But after a few deep breaths I moved on and tried setting up the extended desktop “by hand” (meaning i right clicked the desktop when to properties then settings then selected “Extend …”) and it worked. So now I knew the externel VGA worked and it could work as an extended desktop (which in this case was useless, because I didn’t want to have to pull out the laptop and move things to the other desktop (startmenu etc) each time I turned on the damn thing. After about 20 mins the thought came to me, why not try updating the driver. So on I went to vist ATIs website to download the lasted Radeon XXXX drivers. And after downloading I tired installing them (note I said tried) Becuase not but a few seconds after I started I got a wonderfull error messages that read “These drivers require needs .NET 2.0 installed before they can be installed”. Who comes up with this shit ? A Driver that has OS EXTRA software requirements. So after reading that I remembered I had “Drivers CD” (on a a usb driver) I made using Driveracks. So I closed the laptop and ran to got get it from my office. But when I came back into the room, I just about fainted. There on the TV was my OS desktop in full 1280×720. Got to say I was taken aback with joy :) and then it hit me, how did this happen ? So I started playing with the lid I opened it and closed it and waited by nothing. Then I started playing with just the laptop lib switch. And while the main screen did turn off, my external VGA did not. And after a few WTFs I decided to just restart the laptop and go look for some answers on the web. After about 5 mins and no results though google that even sounded close to my issue, I went back to see what I over looked. After reentering the room again I noticed the TV had my desktop on it. So again I ran on opened the lid and the Desktop “moved” back to the Lid, But this time after closed the Lid the screen went back to the TV. Os to recap again:

Issue #2 : getting the primary screen onto the TV.

Solution #2 : Start the laptop with the lid closed !

Now all that was left was hooking up my blue tooth keyboard and mouse. No problem one would say and it wasn’t that both didn’t sync up nicely with the laptop. It’s just that they wouldn’t stay synced up with the laptop. And to be fair I should point out that it was only the keyboard that wouldn’t stay synced up. And that it would only unsync if I had not toucked a key on it for like more then 2 mins. And if I had I just needed to resync it. This became annyoing every quickly. So again I started by search on google and again to luck until thought “hey why not change the batteries”. And I did and it worked no more unsyncing issues ! Recap time:

Issue #3 : Keyboard would become un-synced after 2 mins of non use.

Solution #3 : Change the damn batteries

And so I was done.  My wife and I sat down and watched a few EP of a new anime we found. And life was good until one of us had the idea to try and watch a 1080P rip of a movie called SteamBoy. Then the world (or at least the movie) started to move in a not so “real” time fashion. And this time I just gave in no matter what I could do was ever going to fix this issue. The laptop just didn’t have the “power” to deal file of this magitue and thus ended this laptops life as a Media Center.

But then so begain the setup of the PC Media Center. This time I started out with the Idea of move power. I hunted around and traded for a nice low profile P4 2.8 ghz with Hyperthreading and 1.256 Gigs of Ram, but with all the other specs being the same. And this time things went smoothly! It only had 1 or 2 minor “pauses” of the video. But I blame that on the onboard GFX card. SO now I’m left wondering what to do. What I have playes everything nicely, But I can’t help to think that with just a little bit of help it could be so much more. So heres what I’m planing.

  1. New Sound Card
  2. New Video Card
  3. USB Wireless
  4. BluRay Drive or BluRay Buner
  5. 32 Gig SSD Drive

Share/Save

Wonderful Iced Coffee Drink

August 2nd, 2008

1 pkt sweetner
1 tsp instant coffee
0.5 Cups flavored coffee creamer
Fill the rest of the bottle up with Skim Milk

* Makes 1 full water bottle full

Share/Save

Fool All port scanner about open ports

July 31st, 2008

Fools all port scanners about what ports are open, by reporting that all ports are open (and well they are). But what the port scanner doesn’t know it what all the “open” ports are all really just redirecting all traffic to port 80 on the inside :)

Code | Source : Here

Share/Save

Stopping SSH brute force attacks

July 31st, 2008

Just uploading my progressive time based anti ssh brute force script to the forums.

Get it here.

Long story short, the more times you try to “connect” in a small (to begin with) window of time the worse it gets. The nice thing is though if you do FUBAR (a little) your 1st “black out” is only 5 mins. And after said time will “forgive” and “forget” (as long as you don’t persist on continuing to try to connect) your FUBAR after said 5 mins so you may try to access your box again.

Share/Save

EeePC 4G - 701 Series

July 30th, 2008

Yesterday I got to play with one of these small guys. And I have it say I had a good time with it ! But where to begin … maybe with description of the device.

The EeePC 4G is a subnotebook computer designed by ASUS (Thanks wikipedia.org). Which has in this case

Again info from : wikipedia.org

  • 4 Gig SSD
  • 900 mhz (under clocked to 630mhz)
  • 512 MB Ram
  • 800×480 Res Screen
  • 10/100 Lan Nic
  • 802.11 b/g wireless card
  • Audio: Realtek ALC6628 Hi-Definition Audio 5.1 CODEC;
  • built-in stereo speakers
  • built-in microphone
  • Connectors: 3 USB 2.0 ports, MMC/SD (HC) card reader,
  • VGA out
  • two PCI Express Mini Card connectors: one occupied by the wireless network card; another empty, accessible on some models from opening on back of unit, which supports only Asus-approved SSD expansion units. The second PCIE connection is unavailable on many current-generation EeePCs

And it all fits into 8.9 × 6.5 × 0.9~1.4 inch caseand come with linux insatlled … And while was and AM excited about everything up the &quot;linux&quot; part. The idea of having to use a linux desktop is about the aquilent be having to sit though the full 4 hour Titanic movie … … again.

But I figured I could fix this, and I’m proud to say I did. With a simple install MS XP. It became a wonderfully useable little machine ! And to see just what it could handle I did in the fallowing.

  • Installed XP full (Don’t use native windows driver for video/wireless/lan)
  • Installed Office 2007 (word,excel and outlook each loaded in under 10 sec)
  • Truecryted the SSD drive
  • Installed SpywareTerminator (with ClamAV but not the webcrawler crap)
  • Installed Avira AV software (Set all options ot high, but uninstalled it later to save space)
  • Installed Realtime Alt
  • Installed Quicktime Alt
  • Installed Adobe Reader Lite 9
  • Installed KLite Codec pack (standard with all installable options)
  • And a few other things

All in all I was left with ~1 gig on the drive and a XP install fully loading from a encrypted SDD in under 30 secs and can play Quake 3 with about 35 FPS (overclocked to it’s full cpu & fan speed). Now I will say the keyboard is small and the drive space is limited, but this was a wonderful liitle machine while I had it…. but then I had to wipe it clean, restore it and give it back. But that OK becuase NOW I have my eye on the Eee PC 901 or it’s cheaper equal the Acer Aspire AOA110-1295 !

Share/Save